#ifndef CNLISTWIDGET_H
#define CNLISTWIDGET_H

#include <QListWidget>

class CNListWidget : public QListWidget
{
    Q_OBJECT
public:
    CNListWidget(QWidget *parent = nullptr);

protected:
    void mousePressEvent(QMouseEvent *event) override;
    void mouseMoveEvent(QMouseEvent *event) override;

private:
    QPoint m_pressedPoint;
};

#endif // CNLISTWIDGET_H
